package cmo.neutech.day11.d1;

import java.util.Scanner;

public class TextStudent {
    public static void main(String[] args) {
        Scanner update = new Scanner(System.in);
        System.out.println("请输入成绩");
        double score = update.nextDouble();
        double finalScore = update.nextDouble();
        Student student = new Student();
        try {
            System.out.println(student.getScore(score,finalScore));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
